<!DOCTYPE html>
<html lang="zh-cn">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <title>Vue&#43;vant - ZzmHub Blog</title>
  <meta name="renderer" content="webkit" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>

<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />

<meta name="theme-color" content="#f8f5ec" />
<meta name="msapplication-navbutton-color" content="#f8f5ec">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="#f8f5ec">


<meta name="author" content="ZzmHub" /><meta name="description" content="vant是基于vue开发的移动端 Vue 组件库, 方便我们在开发项目时少些代码，加快生产效率 vant-tabbar 在vue项目里tabbar通常结合着vue-route" /><meta name="keywords" content="Hugo, theme, even" />






<meta name="generator" content="Hugo 0.69.2 with theme even" />


<link rel="canonical" href="https://meilanziqing.gitee.io/zhi-blogs/post/vue/vue&#43;vant/" />
<link rel="apple-touch-icon" sizes="180x180" href="/zhi-blogs/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/zhi-blogs/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/zhi-blogs/favicon-16x16.png">
<link rel="manifest" href="/zhi-blogs/manifest.json">
<link rel="mask-icon" href="/zhi-blogs/safari-pinned-tab.svg" color="#5bbad5">



<link href="/zhi-blogs/sass/main.min.4eb71590ad024de2ebb1b5eef94cbb645b7e63e6b9c4c837355530a75e112ce1.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.1.20/dist/jquery.fancybox.min.css" integrity="sha256-7TyXnr2YU040zfSP+rEcz29ggW4j56/ujTPwjMzyqFY=" crossorigin="anonymous">


<meta property="og:title" content="Vue&#43;vant" />
<meta property="og:description" content="vant是基于vue开发的移动端 Vue 组件库, 方便我们在开发项目时少些代码，加快生产效率 vant-tabbar 在vue项目里tabbar通常结合着vue-route" />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://meilanziqing.gitee.io/zhi-blogs/post/vue/vue&#43;vant/" />
<meta property="article:published_time" content="2020-09-30T13:59:25+08:00" />
<meta property="article:modified_time" content="2020-09-30T13:59:25+08:00" />
<meta itemprop="name" content="Vue&#43;vant">
<meta itemprop="description" content="vant是基于vue开发的移动端 Vue 组件库, 方便我们在开发项目时少些代码，加快生产效率 vant-tabbar 在vue项目里tabbar通常结合着vue-route">
<meta itemprop="datePublished" content="2020-09-30T13:59:25&#43;08:00" />
<meta itemprop="dateModified" content="2020-09-30T13:59:25&#43;08:00" />
<meta itemprop="wordCount" content="1691">



<meta itemprop="keywords" content="vant," /><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="Vue&#43;vant"/>
<meta name="twitter:description" content="vant是基于vue开发的移动端 Vue 组件库, 方便我们在开发项目时少些代码，加快生产效率 vant-tabbar 在vue项目里tabbar通常结合着vue-route"/>

<!--[if lte IE 9]>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/classlist/1.1.20170427/classList.min.js"></script>
<![endif]-->

<!--[if lt IE 9]>
  <script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script>
<![endif]-->

</head>
<body>
  <div id="mobile-navbar" class="mobile-navbar">
  <div class="mobile-header-logo">
    <a href="/zhi-blogs/" class="logo">ZzmHub</a>
  </div>
  <div class="mobile-navbar-icon">
    <span></span>
    <span></span>
    <span></span>
  </div>
</div>
<nav id="mobile-menu" class="mobile-menu slideout-menu">
  <ul class="mobile-menu-list">
    <a href="/zhi-blogs/">
        <li class="mobile-menu-item">首页</li>
      </a><a href="/zhi-blogs/post/">
        <li class="mobile-menu-item">归档</li>
      </a><a href="/zhi-blogs/categories/">
        <li class="mobile-menu-item">分类</li>
      </a><a href="/zhi-blogs/tags/">
        <li class="mobile-menu-item">标签</li>
      </a><a href="/zhi-blogs/about/">
        <li class="mobile-menu-item">关于</li>
      </a>
  </ul>
</nav>
  <div class="container" id="mobile-panel">
    <header id="header" class="header">
        <div class="logo-wrapper">
  <a href="/zhi-blogs/" class="logo">ZzmHub</a>
</div>

<nav class="site-navbar">
  <ul id="menu" class="menu">
    <li class="menu-item">
        <a class="menu-item-link" href="/zhi-blogs/">首页</a>
      </li><li class="menu-item">
        <a class="menu-item-link" href="/zhi-blogs/post/">归档</a>
      </li><li class="menu-item">
        <a class="menu-item-link" href="/zhi-blogs/categories/">分类</a>
      </li><li class="menu-item">
        <a class="menu-item-link" href="/zhi-blogs/tags/">标签</a>
      </li><li class="menu-item">
        <a class="menu-item-link" href="/zhi-blogs/about/">关于</a>
      </li>
  </ul>
</nav>
    </header>

    <main id="main" class="main">
      <div class="content-wrapper">
        <div id="content" class="content">
          <article class="post">
    
    <header class="post-header">
      <h1 class="post-title">Vue&#43;vant</h1>

      <div class="post-meta">
        <span class="post-time"> 2020-09-30 </span>
        <div class="post-category">
            <a href="/zhi-blogs/categories/vue/"> vue </a>
            </div>
        
      </div>
    </header>

    <div class="post-toc" id="post-toc">
  <h2 class="post-toc-title">文章目录</h2>
  <div class="post-toc-content always-active">
    <nav id="TableOfContents">
  <ul>
    <li><a href="#vant-tabbar">vant-tabbar</a></li>
    <li><a href="#vant-swipe">vant-swipe</a></li>
    <li><a href="#van-icon">van-icon</a></li>
    <li><a href="#van-skeleton">van-skeleton</a></li>
    <li><a href="#van-list">van-list</a></li>
  </ul>
</nav>
  </div>
</div>
    <div class="post-content">
      <p>vant是基于vue开发的移动端 Vue 组件库, 方便我们在开发项目时少些代码，加快生产效率</p>
<h2 id="vant-tabbar">vant-tabbar</h2>
<p>在vue项目里tabbar通常结合着vue-router来使用， <code>路由模式</code> 达到单页面切换模块的效果<br>
<strong>步骤</strong>：</p>
<ul>
<li>前提要先配置好路由</li>
</ul>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre class="chroma"><code><span class="lnt"> 1
</span><span class="lnt"> 2
</span><span class="lnt"> 3
</span><span class="lnt"> 4
</span><span class="lnt"> 5
</span><span class="lnt"> 6
</span><span class="lnt"> 7
</span><span class="lnt"> 8
</span><span class="lnt"> 9
</span><span class="lnt">10
</span><span class="lnt">11
</span><span class="lnt">12
</span><span class="lnt">13
</span><span class="lnt">14
</span><span class="lnt">15
</span><span class="lnt">16
</span><span class="lnt">17
</span><span class="lnt">18
</span><span class="lnt">19
</span><span class="lnt">20
</span><span class="lnt">21
</span><span class="lnt">22
</span><span class="lnt">23
</span><span class="lnt">24
</span><span class="lnt">25
</span><span class="lnt">26
</span></code></pre></td>
<td class="lntd">
<pre class="chroma"><code class="language-fallback" data-lang="fallback">Vue.use(VueRouter)
const routes = [
    {
        path: &#39;/home&#39;,
        name: &#39;home&#39;,
        component: home,
    },
    {
        path: &#39;/activity&#39;,
        name: &#39;activity&#39;,
        component: activity,
    },
    {
        path: &#39;/my&#39;,
        name: &#39;my&#39;,
        component: my,
    },
    {
        path: &#39;/&#39;,
        redirect: &#39;/home&#39;
    },
]
const router = new VueRouter({
    routes
})
export default route
</code></pre></td></tr></table>
</div>
</div><ul>
<li>在main文件全局引入vant-tabbar组件</li>
</ul>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span><span class="lnt">4
</span><span class="lnt">5
</span></code></pre></td>
<td class="lntd">
<pre class="chroma"><code class="language-fallback" data-lang="fallback">import &#39;vant/lib/index.css&#39;;
import {
  Tabbar, TabbarItem
} from &#39;vant&#39;;
Vue.use(Tabbar).use(TabbarItem)
</code></pre></td></tr></table>
</div>
</div><ul>
<li>App.vue</li>
</ul>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span><span class="lnt">4
</span><span class="lnt">5
</span></code></pre></td>
<td class="lntd">
<pre class="chroma"><code class="language-fallback" data-lang="fallback">&lt;van-tabbar class=&#34;g-nav&#34; route=&#34;true&#34;&gt;
	&lt;van-tabbar-item replace to=&#34;/home&#34; icon=&#34;home-o&#34;&gt;首页&lt;/van-tabbar-item&gt;
	&lt;van-tabbar-item replace to=&#34;/activity&#34; icon=&#34;newspaper-o&#34;&gt;文章&lt;/van-tabbar-item&gt;
	&lt;van-tabbar-item replace to=&#34;/my&#34; icon=&#34;setting-o&#34;&gt;我的&lt;/van-tabbar-item&gt;
&lt;/van-tabbar&gt;
</code></pre></td></tr></table>
</div>
</div><p>关键属性：<br>
van-tabbar<br>
<code>:route=&quot;true&quot;</code> 是否开启路由模式<br>
van-tabbar-item<br>
<code>replace</code> 是否在跳转时替换当前页面历史，不写上默认为false，加上时即在切换tabbar时进退键不可用 <br>
<code>to</code> 点击后跳转的目标路由对象，同 vue-router 的 to 属性<br>
<code>icon</code> 图标名称或图片链接(可在vant Icon组件里引用一些定制好的图片)</p>
<p><!-- raw HTML omitted -->  <!-- raw HTML omitted --></p>
<h2 id="vant-swipe">vant-swipe</h2>
<ul>
<li>在main文件全局引入vant-tabbar组件</li>
</ul>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span><span class="lnt">4
</span><span class="lnt">5
</span><span class="lnt">6
</span><span class="lnt">7
</span></code></pre></td>
<td class="lntd">
<pre class="chroma"><code class="language-fallback" data-lang="fallback">import {
  Swipe,
  SwipeItem,
  Lazyload 
} from &#39;vant&#39;;
Vue.use(Swipe).use(SwipeItem)
.use(Lazyload)
</code></pre></td></tr></table>
</div>
</div><ul>
<li>在需要swipe组件的父组件里引用 <code>&lt;banner&gt;</code> ,同时模拟下接口返回数据</li>
</ul>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span></code></pre></td>
<td class="lntd">
<pre class="chroma"><code class="language-fallback" data-lang="fallback">
&lt;banner :banners=&#34;banners&#34;&gt;&lt;/banner&gt;

</code></pre></td></tr></table>
</div>
</div><div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre class="chroma"><code><span class="lnt"> 1
</span><span class="lnt"> 2
</span><span class="lnt"> 3
</span><span class="lnt"> 4
</span><span class="lnt"> 5
</span><span class="lnt"> 6
</span><span class="lnt"> 7
</span><span class="lnt"> 8
</span><span class="lnt"> 9
</span><span class="lnt">10
</span><span class="lnt">11
</span><span class="lnt">12
</span><span class="lnt">13
</span><span class="lnt">14
</span><span class="lnt">15
</span><span class="lnt">16
</span><span class="lnt">17
</span><span class="lnt">18
</span><span class="lnt">19
</span><span class="lnt">20
</span><span class="lnt">21
</span><span class="lnt">22
</span><span class="lnt">23
</span><span class="lnt">24
</span><span class="lnt">25
</span><span class="lnt">26
</span><span class="lnt">27
</span><span class="lnt">28
</span><span class="lnt">29
</span></code></pre></td>
<td class="lntd">
<pre class="chroma"><code class="language-fallback" data-lang="fallback">data() {
    return {
      banners:[],
      banners2: [
        {
          image: &#34;https://dummyimage.com/750x400?text=banner1&#34;,
          url: &#34;https://www.baidu.com/&#34;,
          name:&#39;图1&#39;
        },
        {
          image: &#34;https://dummyimage.com/750x400?text=banner2&#34;,
          url: &#34;&#34;,
          name:&#39;图2&#39;
        },
        {
          image: &#34;https://dummyimage.com/750x400?text=banner3&#34;,
          url: &#34;https://www.taobao.com/&#34;,
          name:&#39;图3&#39;
        }
      ],
      
    };
  },
  mounted(){
    let that = this
    // 模拟接口返回数据
    setTimeout(function(){
      that.banners=that.banners2
    },3000)
</code></pre></td></tr></table>
</div>
</div><ul>
<li>将项目中的轮播图提取作为一个公共组件banner.vue</li>
</ul>
<p>每个swipe-item有对应的链接，标题，图片, 图片配合 <code>Lazyload</code> 懒加载使用v-lazy=&quot;img&rdquo;</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre class="chroma"><code><span class="lnt"> 1
</span><span class="lnt"> 2
</span><span class="lnt"> 3
</span><span class="lnt"> 4
</span><span class="lnt"> 5
</span><span class="lnt"> 6
</span><span class="lnt"> 7
</span><span class="lnt"> 8
</span><span class="lnt"> 9
</span><span class="lnt">10
</span><span class="lnt">11
</span><span class="lnt">12
</span><span class="lnt">13
</span><span class="lnt">14
</span><span class="lnt">15
</span><span class="lnt">16
</span><span class="lnt">17
</span><span class="lnt">18
</span><span class="lnt">19
</span><span class="lnt">20
</span><span class="lnt">21
</span><span class="lnt">22
</span><span class="lnt">23
</span><span class="lnt">24
</span><span class="lnt">25
</span><span class="lnt">26
</span><span class="lnt">27
</span><span class="lnt">28
</span><span class="lnt">29
</span><span class="lnt">30
</span><span class="lnt">31
</span><span class="lnt">32
</span><span class="lnt">33
</span><span class="lnt">34
</span><span class="lnt">35
</span><span class="lnt">36
</span><span class="lnt">37
</span><span class="lnt">38
</span><span class="lnt">39
</span><span class="lnt">40
</span><span class="lnt">41
</span><span class="lnt">42
</span><span class="lnt">43
</span><span class="lnt">44
</span><span class="lnt">45
</span><span class="lnt">46
</span><span class="lnt">47
</span><span class="lnt">48
</span><span class="lnt">49
</span><span class="lnt">50
</span><span class="lnt">51
</span><span class="lnt">52
</span><span class="lnt">53
</span><span class="lnt">54
</span><span class="lnt">55
</span><span class="lnt">56
</span><span class="lnt">57
</span><span class="lnt">58
</span></code></pre></td>
<td class="lntd">
<pre class="chroma"><code class="language-fallback" data-lang="fallback">&lt;template&gt;
  &lt;div class=&#34;compo-banner&#34;&gt;
    &lt;van-swipe :autoplay=&#34;3000&#34; class=&#34;banner-list&#34; @change=&#34;onChange&#34;&gt;
      &lt;van-swipe-item class=&#34;banner-item&#34; :key=&#34;index&#34; v-for=&#34;(item, index) of cBanners&#34;&gt;
        
        &lt;a :href=&#34;item.url&#34; v-if=&#34;item.url&#34;&gt;
          &lt;img v-lazy=&#34;urlPrefix?item.image :item.img&#34; :alt=&#34;item.name&#34; class=&#34;banner-img&#34;&gt;
        &lt;/a&gt;

        &lt;img v-lazy=&#34;urlPrefix?item.image :item.img&#34; :alt=&#34;item.name&#34; class=&#34;banner-img&#34; v-else&gt;

        &lt;p class=&#34;banner-tit&#34;&gt;{{item.name}}&lt;/p&gt;
      &lt;/van-swipe-item&gt;

      &lt;!-- 通过 indicator 插槽可以自定义指示器的样式。 --&gt;
      &lt;div class=&#34;banner-indicator&#34; v-if=&#34;cBanners.length&#34; slot=&#34;indicator&#34;&gt;
        {{ curIndex + 1 }}/{{cBanners.length}}
      &lt;/div&gt;

    &lt;/van-swipe&gt;
  &lt;/div&gt;
&lt;/template&gt;

&lt;script&gt;
  export default {
    name:&#39;banner&#39;,
    props: [&#39;banners&#39;],
    data(){
      return {
        urlPrefix:false,
        curIndex: 0,
        cBanners:[{
          img:&#39;https://dummyimage.com/750x400&#39;,
          url:&#39;&#39;,
          name:&#39;缺省标题&#39;
        }]
      }
    },
    created(){
      console.log(this.cBanners)
    },
    methods:{
      onChange(index){
        this.curIndex = index
      }
    },
    
    watch:{
      banners(newValue){
        this.urlPrefix = true
        this.cBanners = newValue
      }
    },
    mounted(){
      console.log(this.urlPrefix)
    }
  }
&lt;/script&gt;
</code></pre></td></tr></table>
</div>
</div><p>关键属性：<br>
van-swipe<br>
<code>@change=&quot;onChange&quot;</code> 每一页轮播结束后触发, index: 当前页的索引</p>
<p><!-- raw HTML omitted -->  <!-- raw HTML omitted --></p>
<h2 id="van-icon">van-icon</h2>
<p>基于字体的图标集, 可以选择多种图标使用<br>
<a href="https://youzan.github.io/vant/#/zh-CN/icon">https://youzan.github.io/vant/#/zh-CN/icon</a></p>
<h2 id="van-skeleton">van-skeleton</h2>
<p>Skeleton 骨架屏是多数h5项目中会用到的内容占位，减少因为内容加载时间过长让人感觉页面加载慢</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span><span class="lnt">4
</span><span class="lnt">5
</span><span class="lnt">6
</span><span class="lnt">7
</span><span class="lnt">8
</span><span class="lnt">9
</span></code></pre></td>
<td class="lntd">
<pre class="chroma"><code class="language-fallback" data-lang="fallback">&lt;van-skeleton :loading=&#34;outerLoading&#34; :row=&#34;5&#34;&gt;

  &lt;rankList :rankList=&#34;rankList&#34; class=&#34;compo-wrap&#34;&gt;&lt;/rankList&gt;

  &lt;router-link to=&#34;prankList&#34;&gt;
    &lt;div class=&#34;see-more&#34;&gt;查看完整排行&lt;/div&gt;
  &lt;/router-link&gt;

&lt;/van-skeleton&gt;
</code></pre></td></tr></table>
</div>
</div><p>关键属性：<br>
<code>:loading=&quot;&quot;/loading</code>  将loading属性设置成false表示内容加载完成，此时会隐藏占位图，并显示Skeleton的子组件<br>
<code>row</code>	段落占位图行数<br>
<code>animate</code> 是否开启动画</p>
<h2 id="van-list">van-list</h2>
<p>瀑布流滚动加载，用于展示长列表，当列表即将滚动到底部时，会触发事件并加载更多列表项<br>
通常放在<code>&lt;van-skeleton&gt;</code>里配合使用</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span><span class="lnt">4
</span><span class="lnt">5
</span><span class="lnt">6
</span><span class="lnt">7
</span></code></pre></td>
<td class="lntd">
<pre class="chroma"><code class="language-fallback" data-lang="fallback">&lt;van-skeleton :row=&#34;15&#34; :loading=&#34;outerLoading&#34;&gt;

    &lt;van-list v-model=&#34;loading&#34; :offset=&#34;30&#34; :finished=&#34;finished&#34; finished-text=&#34;没有更多了&#34; @load=&#34;loadMore&#34;&gt;
      &lt;compoRankList :rankList=&#34;rankList&#34; class=&#34;compo-wrap sec-base&#34;&gt;&lt;/compoRankList&gt;
    &lt;/van-list&gt;
    
&lt;/van-skeleton&gt;
</code></pre></td></tr></table>
</div>
</div><p>通过<code>loading</code>和<code>finished</code>两个变量控制加载状态，当组件滚动到底部时，会触发load事件并将loading设置成true。<br>
此时可以发起异步操作并更新数据，数据更新完毕后，将loading设置成false即可。<br>
若数据已全部加载完毕，则直接将finished设置成true即可。</p>
<p>关键属性：</p>
<blockquote>
<p>v-model=&quot;loading&quot;是否处于加载状态，加载过程中不触发load事件，默认false<br>
:offset=&quot;30&quot;滚动条与底部距离小于 offset 时触发load事件    <br>
:finished<code>是否</code>全部已加载完成，加载完成后不再触发load事件
finished-text=&quot;没有更多了&rdquo;<br>
@load=&quot;loadMore&rdquo;（方法）滚动条与底部距离小于 offset 时触发</p>
</blockquote>

    </div>

    <div class="post-copyright">
  <p class="copyright-item">
    <span class="item-title">文章作者</span>
    <span class="item-content">ZzmHub</span>
  </p>
  <p class="copyright-item">
    <span class="item-title">上次更新</span>
    <span class="item-content">
        2020-09-30
        
    </span>
  </p>
  
  
</div>
<footer class="post-footer">
      <div class="post-tags">
          <a href="/zhi-blogs/tags/vant/">vant</a>
          </div>
      <nav class="post-nav">
        
        <a class="next" href="/zhi-blogs/post/js%E5%9F%BA%E7%A1%80/js%E6%B7%B1%E5%85%A5/">
            <span class="next-text nav-default">JS深入系列</span>
            <span class="next-text nav-mobile">下一篇</span>
            <i class="iconfont icon-right"></i>
          </a>
      </nav>
    </footer>
  </article>
        </div>
        

  

  

      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="social-links">
      <a href="mailto:gdmec.zhi@email.com" class="iconfont icon-email" title="email"></a>
      <a href="https://github.com/zhimianhub" class="iconfont icon-github" title="github"></a>
  <a href="https://meilanziqing.gitee.io/zhi-blogs/index.xml" type="application/rss+xml" class="iconfont icon-rss" title="rss"></a>
</div>

<div class="copyright">
  <span class="power-by">
    由 <a class="hexo-link" href="https://gohugo.io">Hugo</a> 强力驱动
  </span>
  <span class="division">|</span>
  <span class="theme-info">
    主题 - 
    <a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even">Even</a>
  </span>

  

  <span class="copyright-year">
    &copy; 
    2017 - 
    2020
    <span class="heart">
      <i class="iconfont icon-heart"></i>
    </span>
    <span class="author">ZzmHub</span>
  </span>
</div>
    </footer>

    <div class="back-to-top" id="back-to-top">
      <i class="iconfont icon-up"></i>
    </div>
  </div>
  
  <script src="https://cdn.jsdelivr.net/npm/jquery@3.2.1/dist/jquery.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
  <script src="https://cdn.jsdelivr.net/npm/slideout@1.0.1/dist/slideout.min.js" integrity="sha256-t+zJ/g8/KXIJMjSVQdnibt4dlaDxc9zXr/9oNPeWqdg=" crossorigin="anonymous"></script>
  <script src="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.1.20/dist/jquery.fancybox.min.js" integrity="sha256-XVLffZaxoWfGUEbdzuLi7pwaUJv1cecsQJQqGLe7axY=" crossorigin="anonymous"></script>



<script type="text/javascript" src="/zhi-blogs/js/main.min.d7b7ada643c9c1a983026e177f141f7363b4640d619caf01d8831a6718cd44ea.js"></script>








</body>
</html>
